package DBLayer;
import java.util.ArrayList;

import ModelLayer.Customer;

public interface IFDBCustomer {
	 // get all Customers
    public ArrayList<Customer> getAllCustomers(boolean retriveAssociation);
    
    //get one Customer having the phoneNo
    public Customer getCustomerByPhoneNo(int _phoneNo, boolean retriveAssociation);
    
    //get one Customer having the name
    public Customer getCustomerByName( String _name, boolean retriveAssociation);
   
    //insert a new Customer
    public int insertCustomer(Customer _cust) throws Exception;
    
    //update information about an Customer
    public int updateCustomer(Customer _cust);
	
	//delete a Customer
	public int deleteCustomer(int phoneNo);
}
